package com.huiben.app.cartoonbooks.app;



import android.content.Context;

import com.linewow.xhyy.basiclibrary.base.BaseModel;
import com.linewow.xhyy.basiclibrary.base.BasePresenter;
import com.linewow.xhyy.basiclibrary.base.BaseView;

import rx.Observable;

/**
 * Created by LXR on 2017/2/14.
 */

public interface FrameContract {
    interface View  extends BaseView{
        void ShowPalyData(FrameBean list);
    }
    interface Model  extends BaseModel {
        Observable<FrameBean>getData(String id);
    }

    abstract class Presenter extends BasePresenter<View,Model> {
        //发起获取单条新闻请求
        public abstract void getOneNewsDataRequest(Context m,String postId);
    }
}
